package com.ruoyi.system.domain.parm;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

/**
 * 商家企业认证对象 sys_enterprise_certification
 * 
 * @author ruoyi
 * @date 2024-04-06
 */
public class SysEnterpriseCertificationParm extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(value = "id",example = "",hidden = false)
    private String id;

    /** 商家id */
    @ApiModelProperty(value = "商家id",example = "",hidden = true)
    private String businessId;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    @ApiModelProperty(value = "银行卡号",example = "",required = true)
    @NotEmpty
    private String bankCard;

    /** 银行卡银行 */
    @Excel(name = "银行卡银行")
    @ApiModelProperty(value = "银行卡银行",example = "",required = true)
    @NotEmpty
    private String bankType;

    /** 银行卡预留手机号码 */
    @Excel(name = "银行卡预留手机号码")
    @ApiModelProperty(value = "银行卡预留手机号码",example = "",required = true)
    @NotEmpty
    private String bankPhone;

    /** 企业代码 */
    @Excel(name = "企业代码")
    @ApiModelProperty(value = "企业代码",example = "",required = true)
    @NotEmpty
    private String enterpriseCode;

    /** 营业执照图片 */
    @Excel(name = "营业执照图片")
    @ApiModelProperty(value = "营业执照图片",example = "",required = true)
    @NotEmpty
    private String businessLicense;

    /** 企业固定电话 */
    @Excel(name = "企业固定电话")
    @ApiModelProperty(value = "企业固定电话",example = "",required = true)
    @NotEmpty
    private String telephone;

    /** 审核状态 0=未审核 1= 审核通过 2=审核未通过  */
    @Excel(name = "审核状态 0=未审核 1= 审核通过 2=审核未通过 ")
    @ApiModelProperty(value = "审核状态 0=未审核 1= 审核通过 2=审核未通过",example = "",hidden = true)
    private Integer stauts;

    /** 审核失败原因 */
    @Excel(name = "审核失败原因")
    @ApiModelProperty(value = "审核失败原因",example = "")
    private String failureReason;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "提交时间",example = "",hidden = true)
    private Date submissionTime;

    /** 删除标志 */
    @ApiModelProperty(value = "删除标志",example = "",hidden = true)
    private String delFlag;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setBusinessId(String businessId)
    {
        this.businessId = businessId;
    }

    public String getBusinessId()
    {
        return businessId;
    }
    public void setBankCard(String bankCard) 
    {
        this.bankCard = bankCard;
    }

    public String getBankCard() 
    {
        return bankCard;
    }
    public void setBankType(String bankType) 
    {
        this.bankType = bankType;
    }

    public String getBankType() 
    {
        return bankType;
    }
    public void setBankPhone(String bankPhone) 
    {
        this.bankPhone = bankPhone;
    }

    public String getBankPhone() 
    {
        return bankPhone;
    }
    public void setEnterpriseCode(String enterpriseCode) 
    {
        this.enterpriseCode = enterpriseCode;
    }

    public String getEnterpriseCode() 
    {
        return enterpriseCode;
    }
    public void setBusinessLicense(String businessLicense) 
    {
        this.businessLicense = businessLicense;
    }

    public String getBusinessLicense() 
    {
        return businessLicense;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setStauts(Integer stauts) 
    {
        this.stauts = stauts;
    }

    public Integer getStauts() 
    {
        return stauts;
    }
    public void setFailureReason(String failureReason) 
    {
        this.failureReason = failureReason;
    }

    public String getFailureReason() 
    {
        return failureReason;
    }
    public void setSubmissionTime(Date submissionTime) 
    {
        this.submissionTime = submissionTime;
    }

    public Date getSubmissionTime() 
    {
        return submissionTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessId", getBusinessId())
            .append("bankCard", getBankCard())
            .append("bankType", getBankType())
            .append("bankPhone", getBankPhone())
            .append("enterpriseCode", getEnterpriseCode())
            .append("businessLicense", getBusinessLicense())
            .append("telephone", getTelephone())
            .append("stauts", getStauts())
            .append("failureReason", getFailureReason())
            .append("submissionTime", getSubmissionTime())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
